package file;

import java.io.File;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/3/6
 **/
public class MkDirDemo {
    public static void main(String[] args) {
        File dir = new File("./a/demo");
        if (dir.exists()){
            System.out.println("存在");
        }else {
            dir.mkdirs();
            System.out.println("已创建");
        }
    }
}
